<p style="margin-bottom: 0px">&nbsp;</p>
<nz-spin [nzSpinning]="loading">
<nz-card>
  <!-- <nz-tabset [nzTabBarExtraContent]="extraTemplete" (nzSelectChange)="change($event)"> -->
  <nz-tabset>
    <nz-tab nzTitle="供应商列表"></nz-tab>
  </nz-tabset>
  <ng-template #extraTemplete>

  </ng-template>


  <form nz-form [nzLayout]="'inline'" class="search__form">
      <div nz-row [nzGutter]="24">

        <div nz-col nzLg="4">
          <nz-form-item>
            <!--<nz-form-label nzFor="spQuotientQuery">供应商编号</nz-form-label>-->
            <nz-form-control>
              <input nz-input [(ngModel)]="q.lifnr" (keyup)="($event.which === 13)?loaddata(1):0" name="lifnr" placeholder="编号" >
            </nz-form-control>
          </nz-form-item>
        </div>
        <div nz-col nzLg="4">
          <nz-form-item>
            <!--<nz-form-label nzFor="spQuotientQuery">供应商名称</nz-form-label>-->
            <nz-form-control>
              <input nz-input [(ngModel)]="q.name1" (keyup)="($event.which === 13)?loaddata(1):0" name="name1" placeholder="名称" >
            </nz-form-control>
          </nz-form-item>
        </div>
        <div nz-col nzLg="4">
          <nz-form-item>
            <!--<nz-form-label nzFor="spQuotientQuery">供应商电话</nz-form-label>-->
            <nz-form-control>
              <input nz-input [(ngModel)]="q.telf1" (keyup)="($event.which === 13)?loaddata(1):0" name="telf1" placeholder="电话" >
            </nz-form-control>
          </nz-form-item>
        </div>
        <div nz-col nzLg="12">
            <button nz-button type="button" [nzType]="'primary'" class="mx-sm" (click)="st.load(1, q)">{{'search' | translate}}</button>

        </div>
      </div>
    </form>

</nz-card>
  <button nz-button type="button"   style="margin-bottom: 8px"   (click)="getall('2020')"><i class="anticon anticon-right"></i>获取供应商</button>

<simple-table #st
    [columns]="columns"
    [data]="url"
    [ps]="ps"
    [extraParams]="q"
    [resReName]="{ total: 'total', list: 'data'}"
    [reqReName]="{pi:'pageNumber', ps: 'pageSize'}"
    toTopInChange
    [showTotal]="true"
    [showPagination]="true"
    [showSizeChanger]="true"
              [scroll]="{  x: '1800px' }"
    (checkboxChange)="checkboxChange($event)"
    >
</simple-table>

</nz-spin>
